package com.crazybird.vote.dao.vote;

import com.crazybird.vote.dao.vote.dataobject.VoteActionRecordDTO;
import com.crazybird.vote.dao.vote.dataobject.VoteActionRecordPO;

import java.util.List;

public interface VoteRecordDao {
		//获取用户的投票记录
		Integer getUserRecordCount(Long studentId);
		//获取活动的投票记录
		Integer getActionRecordCount(Long actionId);
		
		List<VoteActionRecordDTO> getVoteActionUserRecord(VoteActionRecordPO po);
		
		List<VoteActionRecordDTO> getVoteActionRecord(VoteActionRecordPO po);
}
